package com.mathlearning.auth.dto.problem;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubmissionListResponse {
    private Long total;
    private List<SubmissionItem> list;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SubmissionItem {
        private Long id;
        private Long problemId;
        private String problemTitle;
        private String answer;        // ✅ 用户答案
        private String process;       // ✅ 解题过程
        private String status;
        private Integer score;
        private String feedback;      // ✅ 反馈信息
        private LocalDateTime submitTime;
    }
}

